﻿using Loki.IoC;
using Loki.IoC.Registration;
using Luna.Model.Configuration;

namespace Luna.Model
{
    public class ConfigurationServiceInstaller : LokiContextInstaller
    {
        public static IContextInstaller All
        {
            get
            {
                return new ConfigurationServiceInstaller();
            }
        }

        public override void Install(IObjectContext context)
        {
            context.Register(Element.Service<IConfigurationService, ConfigurationService>());
        }
    }
}